<?php/* Consider start number as 23 and end number as 100. 
Show the even and odd numbers between these two numbers separately.
Show the sum of even numbers and sum of odd numbers separately.
Show the total no. of even and odd numbers separately.
*/?>

<?php
$number1;
$number;
$numbersum;
$numbersum1;
for($i=23;$i<=100;$i++)
{
if($i % 2 == 0) {
		$number.=$i.'<br>';
		$numbersum=$i+$numbersum;
		}
	else{
		$number1.=$i.'<br>';
		$numbersum1=$i+$numbersum1;
		}
}



echo "Even number";
echo $number.'<br>';

echo "odd number";
echo $number1.'<br>';

echo "sum of Even number";
echo $numbersum.'<br>';

echo "sum of odd number";
echo $numbersum1.'<br>';



?>